<?php
/**
 * @file relationtype.php
 * @date 2015-01-06
 */
namespace haibao\cms\business;
use haibao\cms\data\RelationType as RelationTypeData;
class RelationType extends \haibao\cms\business\Base{

	public static function getRelationType(){
		
		
		$relationTypeData = new RelationTypeData();
		return $relationTypeData->getRelationType();
		
		
	}
	
	public static function getRelationNameByRelId($relId){
		if(!$relId){
			return '';
		}
		$relationTypeData = new RelationTypeData();
		return $relationTypeData->getRelationNameByRelId($relId);
	}
}
